﻿package mvc.controller {
	import mvc.model.PalletProxy;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	import org.puremvc.as3.multicore.patterns.observer.Notification;
    
	public class ChangeColorCommand extends SimpleCommand {
		
		override public function execute(note:INotification):void {
			PalletProxy(facade.retrieveProxy(PalletProxy.NAME)).color = uint(note.getBody());
		}
	}
}